use crate::inventory::Material;

pub fn to_id(mat: Material) -> u16 {
    match mat {
        Material::AcaciaButton => 288,
        Material::AcaciaDoor => 461,
        Material::AcaciaFence => 456,
        Material::AcaciaFenceGate => 451,
        Material::AcaciaLeaves => 62,
        Material::AcaciaLog => 38,
        Material::AcaciaPlanks => 17,
        Material::AcaciaPressurePlate => 163,
        Material::AcaciaSapling => 23,
        Material::AcaciaSlab => 432,
        Material::AcaciaStairs => 351,
        Material::AcaciaTrapdoor => 206,
        Material::AcaciaWood => 50,
        Material::ActivatorRail => 317,
        Material::Air => 0,
        Material::Allium => 121,
        Material::Andesite => 6,
        Material::Anvil => 302,
        Material::AttachedMelonStem => 225,
        Material::AttachedPumpkinStem => 224,
        Material::AzureBluet => 122,
        Material::Barrier => 354,
        Material::Beacon => 257,
        Material::Bedrock => 25,
        Material::Beetroots => 470,
        Material::BirchButton => 286,
        Material::BirchDoor => 459,
        Material::BirchFence => 454,
        Material::BirchFenceGate => 449,
        Material::BirchLeaves => 60,
        Material::BirchLog => 36,
        Material::BirchPlanks => 15,
        Material::BirchPressurePlate => 161,
        Material::BirchSapling => 21,
        Material::BirchSlab => 430,
        Material::BirchStairs => 254,
        Material::BirchTrapdoor => 204,
        Material::BirchWood => 48,
        Material::BlackBanner => 407,
        Material::BlackBed => 89,
        Material::BlackCarpet => 382,
        Material::BlackConcrete => 530,
        Material::BlackConcretePowder => 546,
        Material::BlackGlazedTerracotta => 514,
        Material::BlackShulkerBox => 498,
        Material::BlackStainedGlass => 201,
        Material::BlackStainedGlassPane => 350,
        Material::BlackTerracotta => 334,
        Material::BlackWallBanner => 423,
        Material::BlackWool => 116,
        Material::BlueBanner => 403,
        Material::BlueBed => 85,
        Material::BlueCarpet => 378,
        Material::BlueConcrete => 526,
        Material::BlueConcretePowder => 542,
        Material::BlueGlazedTerracotta => 510,
        Material::BlueIce => 592,
        Material::BlueOrchid => 120,
        Material::BlueShulkerBox => 494,
        Material::BlueStainedGlass => 197,
        Material::BlueStainedGlassPane => 346,
        Material::BlueTerracotta => 330,
        Material::BlueWallBanner => 419,
        Material::BlueWool => 112,
        Material::BoneBlock => 479,
        Material::Bookshelf => 134,
        Material::BrainCoral => 567,
        Material::BrainCoralBlock => 557,
        Material::BrainCoralFan => 587,
        Material::BrainCoralWallFan => 577,
        Material::BrewingStand => 239,
        Material::BrickSlab => 438,
        Material::BrickStairs => 230,
        Material::Bricks => 132,
        Material::BrownBanner => 404,
        Material::BrownBed => 86,
        Material::BrownCarpet => 379,
        Material::BrownConcrete => 527,
        Material::BrownConcretePowder => 543,
        Material::BrownGlazedTerracotta => 511,
        Material::BrownMushroom => 128,
        Material::BrownMushroomBlock => 218,
        Material::BrownShulkerBox => 495,
        Material::BrownStainedGlass => 198,
        Material::BrownStainedGlassPane => 347,
        Material::BrownTerracotta => 331,
        Material::BrownWallBanner => 420,
        Material::BrownWool => 113,
        Material::BubbleColumn => 596,
        Material::BubbleCoral => 568,
        Material::BubbleCoralBlock => 558,
        Material::BubbleCoralFan => 588,
        Material::BubbleCoralWallFan => 578,
        Material::Cactus => 172,
        Material::Cake => 184,
        Material::Carrots => 282,
        Material::CarvedPumpkin => 182,
        Material::Cauldron => 240,
        Material::CaveAir => 595,
        Material::ChainCommandBlock => 474,
        Material::Chest => 142,
        Material::ChippedAnvil => 303,
        Material::ChiseledQuartzBlock => 314,
        Material::ChiseledRedSandstone => 425,
        Material::ChiseledSandstone => 71,
        Material::ChiseledStoneBricks => 217,
        Material::ChorusFlower => 465,
        Material::ChorusPlant => 464,
        Material::Clay => 173,
        Material::CoalBlock => 384,
        Material::CoalOre => 33,
        Material::CoarseDirt => 10,
        Material::Cobblestone => 12,
        Material::CobblestoneSlab => 437,
        Material::CobblestoneStairs => 154,
        Material::CobblestoneWall => 258,
        Material::Cobweb => 93,
        Material::Cocoa => 246,
        Material::CommandBlock => 256,
        Material::Comparator => 308,
        Material::Conduit => 593,
        Material::CrackedStoneBricks => 216,
        Material::CraftingTable => 146,
        Material::CreeperHead => 299,
        Material::CreeperWallHead => 298,
        Material::CutRedSandstone => 426,
        Material::CutSandstone => 72,
        Material::CyanBanner => 401,
        Material::CyanBed => 83,
        Material::CyanCarpet => 376,
        Material::CyanConcrete => 524,
        Material::CyanConcretePowder => 540,
        Material::CyanGlazedTerracotta => 508,
        Material::CyanShulkerBox => 492,
        Material::CyanStainedGlass => 195,
        Material::CyanStainedGlassPane => 344,
        Material::CyanTerracotta => 328,
        Material::CyanWallBanner => 417,
        Material::CyanWool => 110,
        Material::DamagedAnvil => 304,
        Material::Dandelion => 118,
        Material::DarkOakButton => 289,
        Material::DarkOakDoor => 462,
        Material::DarkOakFence => 457,
        Material::DarkOakFenceGate => 452,
        Material::DarkOakLeaves => 63,
        Material::DarkOakLog => 39,
        Material::DarkOakPlanks => 18,
        Material::DarkOakPressurePlate => 164,
        Material::DarkOakSapling => 24,
        Material::DarkOakSlab => 433,
        Material::DarkOakStairs => 352,
        Material::DarkOakTrapdoor => 207,
        Material::DarkOakWood => 51,
        Material::DarkPrismarine => 358,
        Material::DarkPrismarineSlab => 364,
        Material::DarkPrismarineStairs => 361,
        Material::DaylightDetector => 309,
        Material::DeadBrainCoral => 562,
        Material::DeadBrainCoralBlock => 552,
        Material::DeadBrainCoralFan => 582,
        Material::DeadBrainCoralWallFan => 572,
        Material::DeadBubbleCoral => 563,
        Material::DeadBubbleCoralBlock => 553,
        Material::DeadBubbleCoralFan => 583,
        Material::DeadBubbleCoralWallFan => 573,
        Material::DeadBush => 96,
        Material::DeadFireCoral => 564,
        Material::DeadFireCoralBlock => 554,
        Material::DeadFireCoralFan => 584,
        Material::DeadFireCoralWallFan => 574,
        Material::DeadHornCoral => 565,
        Material::DeadHornCoralBlock => 555,
        Material::DeadHornCoralFan => 585,
        Material::DeadHornCoralWallFan => 575,
        Material::DeadTubeCoral => 561,
        Material::DeadTubeCoralBlock => 551,
        Material::DeadTubeCoralFan => 581,
        Material::DeadTubeCoralWallFan => 571,
        Material::DetectorRail => 91,
        Material::DiamondBlock => 145,
        Material::DiamondOre => 144,
        Material::Diorite => 4,
        Material::Dirt => 9,
        Material::Dispenser => 69,
        Material::DragonEgg => 244,
        Material::DragonHead => 301,
        Material::DragonWallHead => 300,
        Material::DriedKelpBlock => 549,
        Material::Dropper => 318,
        Material::EmeraldBlock => 252,
        Material::EmeraldOre => 248,
        Material::EnchantingTable => 238,
        Material::EndGateway => 472,
        Material::EndPortal => 241,
        Material::EndPortalFrame => 242,
        Material::EndRod => 463,
        Material::EndStone => 243,
        Material::EndStoneBricks => 469,
        Material::EnderChest => 249,
        Material::Farmland => 148,
        Material::Fern => 95,
        Material::Fire => 139,
        Material::FireCoral => 569,
        Material::FireCoralBlock => 559,
        Material::FireCoralFan => 589,
        Material::FireCoralWallFan => 579,
        Material::FlowerPot => 260,
        Material::FrostedIce => 475,
        Material::Furnace => 149,
        Material::Glass => 66,
        Material::GlassPane => 222,
        Material::Glowstone => 180,
        Material::GoldBlock => 130,
        Material::GoldOre => 31,
        Material::Granite => 2,
        Material::Grass => 94,
        Material::GrassBlock => 8,
        Material::GrassPath => 471,
        Material::Gravel => 30,
        Material::GrayBanner => 399,
        Material::GrayBed => 81,
        Material::GrayCarpet => 374,
        Material::GrayConcrete => 522,
        Material::GrayConcretePowder => 538,
        Material::GrayGlazedTerracotta => 506,
        Material::GrayShulkerBox => 490,
        Material::GrayStainedGlass => 193,
        Material::GrayStainedGlassPane => 342,
        Material::GrayTerracotta => 326,
        Material::GrayWallBanner => 415,
        Material::GrayWool => 108,
        Material::GreenBanner => 405,
        Material::GreenBed => 87,
        Material::GreenCarpet => 380,
        Material::GreenConcrete => 528,
        Material::GreenConcretePowder => 544,
        Material::GreenGlazedTerracotta => 512,
        Material::GreenShulkerBox => 496,
        Material::GreenStainedGlass => 199,
        Material::GreenStainedGlassPane => 348,
        Material::GreenTerracotta => 332,
        Material::GreenWallBanner => 421,
        Material::GreenWool => 114,
        Material::HayBlock => 366,
        Material::HeavyWeightedPressurePlate => 307,
        Material::Hopper => 312,
        Material::HornCoral => 570,
        Material::HornCoralBlock => 560,
        Material::HornCoralFan => 590,
        Material::HornCoralWallFan => 580,
        Material::Ice => 170,
        Material::InfestedChiseledStoneBricks => 213,
        Material::InfestedCobblestone => 209,
        Material::InfestedCrackedStoneBricks => 212,
        Material::InfestedMossyStoneBricks => 211,
        Material::InfestedStone => 208,
        Material::InfestedStoneBricks => 210,
        Material::IronBars => 221,
        Material::IronBlock => 131,
        Material::IronDoor => 158,
        Material::IronOre => 32,
        Material::IronTrapdoor => 355,
        Material::JackOLantern => 183,
        Material::Jukebox => 175,
        Material::JungleButton => 287,
        Material::JungleDoor => 460,
        Material::JungleFence => 455,
        Material::JungleFenceGate => 450,
        Material::JungleLeaves => 61,
        Material::JungleLog => 37,
        Material::JunglePlanks => 16,
        Material::JunglePressurePlate => 162,
        Material::JungleSapling => 22,
        Material::JungleSlab => 431,
        Material::JungleStairs => 255,
        Material::JungleTrapdoor => 205,
        Material::JungleWood => 49,
        Material::Kelp => 547,
        Material::KelpPlant => 548,
        Material::Ladder => 152,
        Material::LapisBlock => 68,
        Material::LapisOre => 67,
        Material::LargeFern => 391,
        Material::Lava => 27,
        Material::Lever => 156,
        Material::LightBlueBanner => 395,
        Material::LightBlueBed => 77,
        Material::LightBlueCarpet => 370,
        Material::LightBlueConcrete => 518,
        Material::LightBlueConcretePowder => 534,
        Material::LightBlueGlazedTerracotta => 502,
        Material::LightBlueShulkerBox => 486,
        Material::LightBlueStainedGlass => 189,
        Material::LightBlueStainedGlassPane => 338,
        Material::LightBlueTerracotta => 322,
        Material::LightBlueWallBanner => 411,
        Material::LightBlueWool => 104,
        Material::LightGrayBanner => 400,
        Material::LightGrayBed => 82,
        Material::LightGrayCarpet => 375,
        Material::LightGrayConcrete => 523,
        Material::LightGrayConcretePowder => 539,
        Material::LightGrayGlazedTerracotta => 507,
        Material::LightGrayShulkerBox => 491,
        Material::LightGrayStainedGlass => 194,
        Material::LightGrayStainedGlassPane => 343,
        Material::LightGrayTerracotta => 327,
        Material::LightGrayWallBanner => 416,
        Material::LightGrayWool => 109,
        Material::LightWeightedPressurePlate => 306,
        Material::Lilac => 387,
        Material::LilyPad => 233,
        Material::LimeBanner => 397,
        Material::LimeBed => 79,
        Material::LimeCarpet => 372,
        Material::LimeConcrete => 520,
        Material::LimeConcretePowder => 536,
        Material::LimeGlazedTerracotta => 504,
        Material::LimeShulkerBox => 488,
        Material::LimeStainedGlass => 191,
        Material::LimeStainedGlassPane => 340,
        Material::LimeTerracotta => 324,
        Material::LimeWallBanner => 413,
        Material::LimeWool => 106,
        Material::MagentaBanner => 394,
        Material::MagentaBed => 76,
        Material::MagentaCarpet => 369,
        Material::MagentaConcrete => 517,
        Material::MagentaConcretePowder => 533,
        Material::MagentaGlazedTerracotta => 501,
        Material::MagentaShulkerBox => 485,
        Material::MagentaStainedGlass => 188,
        Material::MagentaStainedGlassPane => 337,
        Material::MagentaTerracotta => 321,
        Material::MagentaWallBanner => 410,
        Material::MagentaWool => 103,
        Material::MagmaBlock => 476,
        Material::Melon => 223,
        Material::MelonStem => 227,
        Material::MossyCobblestone => 135,
        Material::MossyCobblestoneWall => 259,
        Material::MossyStoneBricks => 215,
        Material::MovingPiston => 117,
        Material::MushroomStem => 220,
        Material::Mycelium => 232,
        Material::NetherBrickFence => 235,
        Material::NetherBrickSlab => 440,
        Material::NetherBrickStairs => 236,
        Material::NetherBricks => 234,
        Material::NetherPortal => 181,
        Material::NetherQuartzOre => 311,
        Material::NetherWart => 237,
        Material::NetherWartBlock => 477,
        Material::Netherrack => 178,
        Material::NoteBlock => 73,
        Material::OakButton => 284,
        Material::OakDoor => 151,
        Material::OakFence => 176,
        Material::OakFenceGate => 229,
        Material::OakLeaves => 58,
        Material::OakLog => 34,
        Material::OakPlanks => 13,
        Material::OakPressurePlate => 159,
        Material::OakSapling => 19,
        Material::OakSlab => 428,
        Material::OakStairs => 141,
        Material::OakTrapdoor => 202,
        Material::OakWood => 46,
        Material::Observer => 481,
        Material::Obsidian => 136,
        Material::OrangeBanner => 393,
        Material::OrangeBed => 75,
        Material::OrangeCarpet => 368,
        Material::OrangeConcrete => 516,
        Material::OrangeConcretePowder => 532,
        Material::OrangeGlazedTerracotta => 500,
        Material::OrangeShulkerBox => 484,
        Material::OrangeStainedGlass => 187,
        Material::OrangeStainedGlassPane => 336,
        Material::OrangeTerracotta => 320,
        Material::OrangeTulip => 124,
        Material::OrangeWallBanner => 409,
        Material::OrangeWool => 102,
        Material::OxeyeDaisy => 127,
        Material::PackedIce => 385,
        Material::Peony => 389,
        Material::PetrifiedOakSlab => 436,
        Material::PinkBanner => 398,
        Material::PinkBed => 80,
        Material::PinkCarpet => 373,
        Material::PinkConcrete => 521,
        Material::PinkConcretePowder => 537,
        Material::PinkGlazedTerracotta => 505,
        Material::PinkShulkerBox => 489,
        Material::PinkStainedGlass => 192,
        Material::PinkStainedGlassPane => 341,
        Material::PinkTerracotta => 325,
        Material::PinkTulip => 126,
        Material::PinkWallBanner => 414,
        Material::PinkWool => 107,
        Material::Piston => 99,
        Material::PistonHead => 100,
        Material::PlayerHead => 297,
        Material::PlayerWallHead => 296,
        Material::Podzol => 11,
        Material::PolishedAndesite => 7,
        Material::PolishedDiorite => 5,
        Material::PolishedGranite => 3,
        Material::Poppy => 119,
        Material::Potatoes => 283,
        Material::PottedAcaciaSapling => 265,
        Material::PottedAllium => 271,
        Material::PottedAzureBluet => 272,
        Material::PottedBirchSapling => 263,
        Material::PottedBlueOrchid => 270,
        Material::PottedBrownMushroom => 279,
        Material::PottedCactus => 281,
        Material::PottedDandelion => 268,
        Material::PottedDarkOakSapling => 266,
        Material::PottedDeadBush => 280,
        Material::PottedFern => 267,
        Material::PottedJungleSapling => 264,
        Material::PottedOakSapling => 261,
        Material::PottedOrangeTulip => 274,
        Material::PottedOxeyeDaisy => 277,
        Material::PottedPinkTulip => 276,
        Material::PottedPoppy => 269,
        Material::PottedRedMushroom => 278,
        Material::PottedRedTulip => 273,
        Material::PottedSpruceSapling => 262,
        Material::PottedWhiteTulip => 275,
        Material::PoweredRail => 90,
        Material::Prismarine => 356,
        Material::PrismarineBrickSlab => 363,
        Material::PrismarineBrickStairs => 360,
        Material::PrismarineBricks => 357,
        Material::PrismarineSlab => 362,
        Material::PrismarineStairs => 359,
        Material::Pumpkin => 177,
        Material::PumpkinStem => 226,
        Material::PurpleBanner => 402,
        Material::PurpleBed => 84,
        Material::PurpleCarpet => 377,
        Material::PurpleConcrete => 525,
        Material::PurpleConcretePowder => 541,
        Material::PurpleGlazedTerracotta => 509,
        Material::PurpleShulkerBox => 493,
        Material::PurpleStainedGlass => 196,
        Material::PurpleStainedGlassPane => 345,
        Material::PurpleTerracotta => 329,
        Material::PurpleWallBanner => 418,
        Material::PurpleWool => 111,
        Material::PurpurBlock => 466,
        Material::PurpurPillar => 467,
        Material::PurpurSlab => 443,
        Material::PurpurStairs => 468,
        Material::QuartzBlock => 313,
        Material::QuartzPillar => 315,
        Material::QuartzSlab => 441,
        Material::QuartzStairs => 316,
        Material::Rail => 153,
        Material::RedBanner => 406,
        Material::RedBed => 88,
        Material::RedCarpet => 381,
        Material::RedConcrete => 529,
        Material::RedConcretePowder => 545,
        Material::RedGlazedTerracotta => 513,
        Material::RedMushroom => 129,
        Material::RedMushroomBlock => 219,
        Material::RedNetherBricks => 478,
        Material::RedSand => 29,
        Material::RedSandstone => 424,
        Material::RedSandstoneSlab => 442,
        Material::RedSandstoneStairs => 427,
        Material::RedShulkerBox => 497,
        Material::RedStainedGlass => 200,
        Material::RedStainedGlassPane => 349,
        Material::RedTerracotta => 333,
        Material::RedTulip => 123,
        Material::RedWallBanner => 422,
        Material::RedWool => 115,
        Material::RedstoneBlock => 310,
        Material::RedstoneLamp => 245,
        Material::RedstoneOre => 165,
        Material::RedstoneTorch => 166,
        Material::RedstoneWallTorch => 167,
        Material::RedstoneWire => 143,
        Material::Repeater => 185,
        Material::RepeatingCommandBlock => 473,
        Material::RoseBush => 388,
        Material::Sand => 28,
        Material::Sandstone => 70,
        Material::SandstoneSlab => 435,
        Material::SandstoneStairs => 247,
        Material::SeaLantern => 365,
        Material::SeaPickle => 591,
        Material::Seagrass => 97,
        Material::ShulkerBox => 482,
        Material::Sign => 150,
        Material::SkeletonSkull => 291,
        Material::SkeletonWallSkull => 290,
        Material::SlimeBlock => 353,
        Material::SmoothQuartz => 446,
        Material::SmoothRedSandstone => 447,
        Material::SmoothSandstone => 445,
        Material::SmoothStone => 444,
        Material::Snow => 169,
        Material::SnowBlock => 171,
        Material::SoulSand => 179,
        Material::Spawner => 140,
        Material::Sponge => 64,
        Material::SpruceButton => 285,
        Material::SpruceDoor => 458,
        Material::SpruceFence => 453,
        Material::SpruceFenceGate => 448,
        Material::SpruceLeaves => 59,
        Material::SpruceLog => 35,
        Material::SprucePlanks => 14,
        Material::SprucePressurePlate => 160,
        Material::SpruceSapling => 20,
        Material::SpruceSlab => 429,
        Material::SpruceStairs => 253,
        Material::SpruceTrapdoor => 203,
        Material::SpruceWood => 47,
        Material::StickyPiston => 92,
        Material::Stone => 1,
        Material::StoneBrickSlab => 439,
        Material::StoneBrickStairs => 231,
        Material::StoneBricks => 214,
        Material::StoneButton => 168,
        Material::StonePressurePlate => 157,
        Material::StoneSlab => 434,
        Material::StrippedAcaciaLog => 43,
        Material::StrippedAcaciaWood => 56,
        Material::StrippedBirchLog => 41,
        Material::StrippedBirchWood => 54,
        Material::StrippedDarkOakLog => 44,
        Material::StrippedDarkOakWood => 57,
        Material::StrippedJungleLog => 42,
        Material::StrippedJungleWood => 55,
        Material::StrippedOakLog => 45,
        Material::StrippedOakWood => 52,
        Material::StrippedSpruceLog => 40,
        Material::StrippedSpruceWood => 53,
        Material::StructureBlock => 597,
        Material::StructureVoid => 480,
        Material::SugarCane => 174,
        Material::Sunflower => 386,
        Material::TallGrass => 390,
        Material::TallSeagrass => 98,
        Material::Terracotta => 383,
        Material::Tnt => 133,
        Material::Torch => 137,
        Material::TrappedChest => 305,
        Material::Tripwire => 251,
        Material::TripwireHook => 250,
        Material::TubeCoral => 566,
        Material::TubeCoralBlock => 556,
        Material::TubeCoralFan => 586,
        Material::TubeCoralWallFan => 576,
        Material::TurtleEgg => 550,
        Material::Vine => 228,
        Material::VoidAir => 594,
        Material::WallSign => 155,
        Material::WallTorch => 138,
        Material::Water => 26,
        Material::WetSponge => 65,
        Material::Wheat => 147,
        Material::WhiteBanner => 392,
        Material::WhiteBed => 74,
        Material::WhiteCarpet => 367,
        Material::WhiteConcrete => 515,
        Material::WhiteConcretePowder => 531,
        Material::WhiteGlazedTerracotta => 499,
        Material::WhiteShulkerBox => 483,
        Material::WhiteStainedGlass => 186,
        Material::WhiteStainedGlassPane => 335,
        Material::WhiteTerracotta => 319,
        Material::WhiteTulip => 125,
        Material::WhiteWallBanner => 408,
        Material::WhiteWool => 101,
        Material::WitherSkeletonSkull => 293,
        Material::WitherSkeletonWallSkull => 292,
        Material::YellowBanner => 396,
        Material::YellowBed => 78,
        Material::YellowCarpet => 371,
        Material::YellowConcrete => 519,
        Material::YellowConcretePowder => 535,
        Material::YellowGlazedTerracotta => 503,
        Material::YellowShulkerBox => 487,
        Material::YellowStainedGlass => 190,
        Material::YellowStainedGlassPane => 339,
        Material::YellowTerracotta => 323,
        Material::YellowWallBanner => 412,
        Material::YellowWool => 105,
        Material::ZombieHead => 295,
        Material::ZombieWallHead => 294,
        _ => 0,
    }
}

pub fn to_material(material_id: u16) -> Material {
    match material_id {
        288 => Material::AcaciaButton,
        461 => Material::AcaciaDoor,
        456 => Material::AcaciaFence,
        451 => Material::AcaciaFenceGate,
        62 => Material::AcaciaLeaves,
        38 => Material::AcaciaLog,
        17 => Material::AcaciaPlanks,
        163 => Material::AcaciaPressurePlate,
        23 => Material::AcaciaSapling,
        432 => Material::AcaciaSlab,
        351 => Material::AcaciaStairs,
        206 => Material::AcaciaTrapdoor,
        50 => Material::AcaciaWood,
        317 => Material::ActivatorRail,
        0 => Material::Air,
        121 => Material::Allium,
        6 => Material::Andesite,
        302 => Material::Anvil,
        225 => Material::AttachedMelonStem,
        224 => Material::AttachedPumpkinStem,
        122 => Material::AzureBluet,
        354 => Material::Barrier,
        257 => Material::Beacon,
        25 => Material::Bedrock,
        470 => Material::Beetroots,
        286 => Material::BirchButton,
        459 => Material::BirchDoor,
        454 => Material::BirchFence,
        449 => Material::BirchFenceGate,
        60 => Material::BirchLeaves,
        36 => Material::BirchLog,
        15 => Material::BirchPlanks,
        161 => Material::BirchPressurePlate,
        21 => Material::BirchSapling,
        430 => Material::BirchSlab,
        254 => Material::BirchStairs,
        204 => Material::BirchTrapdoor,
        48 => Material::BirchWood,
        407 => Material::BlackBanner,
        89 => Material::BlackBed,
        382 => Material::BlackCarpet,
        530 => Material::BlackConcrete,
        546 => Material::BlackConcretePowder,
        514 => Material::BlackGlazedTerracotta,
        498 => Material::BlackShulkerBox,
        201 => Material::BlackStainedGlass,
        350 => Material::BlackStainedGlassPane,
        334 => Material::BlackTerracotta,
        423 => Material::BlackWallBanner,
        116 => Material::BlackWool,
        403 => Material::BlueBanner,
        85 => Material::BlueBed,
        378 => Material::BlueCarpet,
        526 => Material::BlueConcrete,
        542 => Material::BlueConcretePowder,
        510 => Material::BlueGlazedTerracotta,
        592 => Material::BlueIce,
        120 => Material::BlueOrchid,
        494 => Material::BlueShulkerBox,
        197 => Material::BlueStainedGlass,
        346 => Material::BlueStainedGlassPane,
        330 => Material::BlueTerracotta,
        419 => Material::BlueWallBanner,
        112 => Material::BlueWool,
        479 => Material::BoneBlock,
        134 => Material::Bookshelf,
        567 => Material::BrainCoral,
        557 => Material::BrainCoralBlock,
        587 => Material::BrainCoralFan,
        577 => Material::BrainCoralWallFan,
        239 => Material::BrewingStand,
        438 => Material::BrickSlab,
        230 => Material::BrickStairs,
        132 => Material::Bricks,
        404 => Material::BrownBanner,
        86 => Material::BrownBed,
        379 => Material::BrownCarpet,
        527 => Material::BrownConcrete,
        543 => Material::BrownConcretePowder,
        511 => Material::BrownGlazedTerracotta,
        128 => Material::BrownMushroom,
        218 => Material::BrownMushroomBlock,
        495 => Material::BrownShulkerBox,
        198 => Material::BrownStainedGlass,
        347 => Material::BrownStainedGlassPane,
        331 => Material::BrownTerracotta,
        420 => Material::BrownWallBanner,
        113 => Material::BrownWool,
        596 => Material::BubbleColumn,
        568 => Material::BubbleCoral,
        558 => Material::BubbleCoralBlock,
        588 => Material::BubbleCoralFan,
        578 => Material::BubbleCoralWallFan,
        172 => Material::Cactus,
        184 => Material::Cake,
        282 => Material::Carrots,
        182 => Material::CarvedPumpkin,
        240 => Material::Cauldron,
        595 => Material::CaveAir,
        474 => Material::ChainCommandBlock,
        142 => Material::Chest,
        303 => Material::ChippedAnvil,
        314 => Material::ChiseledQuartzBlock,
        425 => Material::ChiseledRedSandstone,
        71 => Material::ChiseledSandstone,
        217 => Material::ChiseledStoneBricks,
        465 => Material::ChorusFlower,
        464 => Material::ChorusPlant,
        173 => Material::Clay,
        384 => Material::CoalBlock,
        33 => Material::CoalOre,
        10 => Material::CoarseDirt,
        12 => Material::Cobblestone,
        437 => Material::CobblestoneSlab,
        154 => Material::CobblestoneStairs,
        258 => Material::CobblestoneWall,
        93 => Material::Cobweb,
        246 => Material::Cocoa,
        256 => Material::CommandBlock,
        308 => Material::Comparator,
        593 => Material::Conduit,
        216 => Material::CrackedStoneBricks,
        146 => Material::CraftingTable,
        299 => Material::CreeperHead,
        298 => Material::CreeperWallHead,
        426 => Material::CutRedSandstone,
        72 => Material::CutSandstone,
        401 => Material::CyanBanner,
        83 => Material::CyanBed,
        376 => Material::CyanCarpet,
        524 => Material::CyanConcrete,
        540 => Material::CyanConcretePowder,
        508 => Material::CyanGlazedTerracotta,
        492 => Material::CyanShulkerBox,
        195 => Material::CyanStainedGlass,
        344 => Material::CyanStainedGlassPane,
        328 => Material::CyanTerracotta,
        417 => Material::CyanWallBanner,
        110 => Material::CyanWool,
        304 => Material::DamagedAnvil,
        118 => Material::Dandelion,
        289 => Material::DarkOakButton,
        462 => Material::DarkOakDoor,
        457 => Material::DarkOakFence,
        452 => Material::DarkOakFenceGate,
        63 => Material::DarkOakLeaves,
        39 => Material::DarkOakLog,
        18 => Material::DarkOakPlanks,
        164 => Material::DarkOakPressurePlate,
        24 => Material::DarkOakSapling,
        433 => Material::DarkOakSlab,
        352 => Material::DarkOakStairs,
        207 => Material::DarkOakTrapdoor,
        51 => Material::DarkOakWood,
        358 => Material::DarkPrismarine,
        364 => Material::DarkPrismarineSlab,
        361 => Material::DarkPrismarineStairs,
        309 => Material::DaylightDetector,
        562 => Material::DeadBrainCoral,
        552 => Material::DeadBrainCoralBlock,
        582 => Material::DeadBrainCoralFan,
        572 => Material::DeadBrainCoralWallFan,
        563 => Material::DeadBubbleCoral,
        553 => Material::DeadBubbleCoralBlock,
        583 => Material::DeadBubbleCoralFan,
        573 => Material::DeadBubbleCoralWallFan,
        96 => Material::DeadBush,
        564 => Material::DeadFireCoral,
        554 => Material::DeadFireCoralBlock,
        584 => Material::DeadFireCoralFan,
        574 => Material::DeadFireCoralWallFan,
        565 => Material::DeadHornCoral,
        555 => Material::DeadHornCoralBlock,
        585 => Material::DeadHornCoralFan,
        575 => Material::DeadHornCoralWallFan,
        561 => Material::DeadTubeCoral,
        551 => Material::DeadTubeCoralBlock,
        581 => Material::DeadTubeCoralFan,
        571 => Material::DeadTubeCoralWallFan,
        91 => Material::DetectorRail,
        145 => Material::DiamondBlock,
        144 => Material::DiamondOre,
        4 => Material::Diorite,
        9 => Material::Dirt,
        69 => Material::Dispenser,
        244 => Material::DragonEgg,
        301 => Material::DragonHead,
        300 => Material::DragonWallHead,
        549 => Material::DriedKelpBlock,
        318 => Material::Dropper,
        252 => Material::EmeraldBlock,
        248 => Material::EmeraldOre,
        238 => Material::EnchantingTable,
        472 => Material::EndGateway,
        241 => Material::EndPortal,
        242 => Material::EndPortalFrame,
        463 => Material::EndRod,
        243 => Material::EndStone,
        469 => Material::EndStoneBricks,
        249 => Material::EnderChest,
        148 => Material::Farmland,
        95 => Material::Fern,
        139 => Material::Fire,
        569 => Material::FireCoral,
        559 => Material::FireCoralBlock,
        589 => Material::FireCoralFan,
        579 => Material::FireCoralWallFan,
        260 => Material::FlowerPot,
        475 => Material::FrostedIce,
        149 => Material::Furnace,
        66 => Material::Glass,
        222 => Material::GlassPane,
        180 => Material::Glowstone,
        130 => Material::GoldBlock,
        31 => Material::GoldOre,
        2 => Material::Granite,
        94 => Material::Grass,
        8 => Material::GrassBlock,
        471 => Material::GrassPath,
        30 => Material::Gravel,
        399 => Material::GrayBanner,
        81 => Material::GrayBed,
        374 => Material::GrayCarpet,
        522 => Material::GrayConcrete,
        538 => Material::GrayConcretePowder,
        506 => Material::GrayGlazedTerracotta,
        490 => Material::GrayShulkerBox,
        193 => Material::GrayStainedGlass,
        342 => Material::GrayStainedGlassPane,
        326 => Material::GrayTerracotta,
        415 => Material::GrayWallBanner,
        108 => Material::GrayWool,
        405 => Material::GreenBanner,
        87 => Material::GreenBed,
        380 => Material::GreenCarpet,
        528 => Material::GreenConcrete,
        544 => Material::GreenConcretePowder,
        512 => Material::GreenGlazedTerracotta,
        496 => Material::GreenShulkerBox,
        199 => Material::GreenStainedGlass,
        348 => Material::GreenStainedGlassPane,
        332 => Material::GreenTerracotta,
        421 => Material::GreenWallBanner,
        114 => Material::GreenWool,
        366 => Material::HayBlock,
        307 => Material::HeavyWeightedPressurePlate,
        312 => Material::Hopper,
        570 => Material::HornCoral,
        560 => Material::HornCoralBlock,
        590 => Material::HornCoralFan,
        580 => Material::HornCoralWallFan,
        170 => Material::Ice,
        213 => Material::InfestedChiseledStoneBricks,
        209 => Material::InfestedCobblestone,
        212 => Material::InfestedCrackedStoneBricks,
        211 => Material::InfestedMossyStoneBricks,
        208 => Material::InfestedStone,
        210 => Material::InfestedStoneBricks,
        221 => Material::IronBars,
        131 => Material::IronBlock,
        158 => Material::IronDoor,
        32 => Material::IronOre,
        355 => Material::IronTrapdoor,
        183 => Material::JackOLantern,
        175 => Material::Jukebox,
        287 => Material::JungleButton,
        460 => Material::JungleDoor,
        455 => Material::JungleFence,
        450 => Material::JungleFenceGate,
        61 => Material::JungleLeaves,
        37 => Material::JungleLog,
        16 => Material::JunglePlanks,
        162 => Material::JunglePressurePlate,
        22 => Material::JungleSapling,
        431 => Material::JungleSlab,
        255 => Material::JungleStairs,
        205 => Material::JungleTrapdoor,
        49 => Material::JungleWood,
        547 => Material::Kelp,
        548 => Material::KelpPlant,
        152 => Material::Ladder,
        68 => Material::LapisBlock,
        67 => Material::LapisOre,
        391 => Material::LargeFern,
        27 => Material::Lava,
        156 => Material::Lever,
        395 => Material::LightBlueBanner,
        77 => Material::LightBlueBed,
        370 => Material::LightBlueCarpet,
        518 => Material::LightBlueConcrete,
        534 => Material::LightBlueConcretePowder,
        502 => Material::LightBlueGlazedTerracotta,
        486 => Material::LightBlueShulkerBox,
        189 => Material::LightBlueStainedGlass,
        338 => Material::LightBlueStainedGlassPane,
        322 => Material::LightBlueTerracotta,
        411 => Material::LightBlueWallBanner,
        104 => Material::LightBlueWool,
        400 => Material::LightGrayBanner,
        82 => Material::LightGrayBed,
        375 => Material::LightGrayCarpet,
        523 => Material::LightGrayConcrete,
        539 => Material::LightGrayConcretePowder,
        507 => Material::LightGrayGlazedTerracotta,
        491 => Material::LightGrayShulkerBox,
        194 => Material::LightGrayStainedGlass,
        343 => Material::LightGrayStainedGlassPane,
        327 => Material::LightGrayTerracotta,
        416 => Material::LightGrayWallBanner,
        109 => Material::LightGrayWool,
        306 => Material::LightWeightedPressurePlate,
        387 => Material::Lilac,
        233 => Material::LilyPad,
        397 => Material::LimeBanner,
        79 => Material::LimeBed,
        372 => Material::LimeCarpet,
        520 => Material::LimeConcrete,
        536 => Material::LimeConcretePowder,
        504 => Material::LimeGlazedTerracotta,
        488 => Material::LimeShulkerBox,
        191 => Material::LimeStainedGlass,
        340 => Material::LimeStainedGlassPane,
        324 => Material::LimeTerracotta,
        413 => Material::LimeWallBanner,
        106 => Material::LimeWool,
        394 => Material::MagentaBanner,
        76 => Material::MagentaBed,
        369 => Material::MagentaCarpet,
        517 => Material::MagentaConcrete,
        533 => Material::MagentaConcretePowder,
        501 => Material::MagentaGlazedTerracotta,
        485 => Material::MagentaShulkerBox,
        188 => Material::MagentaStainedGlass,
        337 => Material::MagentaStainedGlassPane,
        321 => Material::MagentaTerracotta,
        410 => Material::MagentaWallBanner,
        103 => Material::MagentaWool,
        476 => Material::MagmaBlock,
        223 => Material::Melon,
        227 => Material::MelonStem,
        135 => Material::MossyCobblestone,
        259 => Material::MossyCobblestoneWall,
        215 => Material::MossyStoneBricks,
        117 => Material::MovingPiston,
        220 => Material::MushroomStem,
        232 => Material::Mycelium,
        235 => Material::NetherBrickFence,
        440 => Material::NetherBrickSlab,
        236 => Material::NetherBrickStairs,
        234 => Material::NetherBricks,
        181 => Material::NetherPortal,
        311 => Material::NetherQuartzOre,
        237 => Material::NetherWart,
        477 => Material::NetherWartBlock,
        178 => Material::Netherrack,
        73 => Material::NoteBlock,
        284 => Material::OakButton,
        151 => Material::OakDoor,
        176 => Material::OakFence,
        229 => Material::OakFenceGate,
        58 => Material::OakLeaves,
        34 => Material::OakLog,
        13 => Material::OakPlanks,
        159 => Material::OakPressurePlate,
        19 => Material::OakSapling,
        428 => Material::OakSlab,
        141 => Material::OakStairs,
        202 => Material::OakTrapdoor,
        46 => Material::OakWood,
        481 => Material::Observer,
        136 => Material::Obsidian,
        393 => Material::OrangeBanner,
        75 => Material::OrangeBed,
        368 => Material::OrangeCarpet,
        516 => Material::OrangeConcrete,
        532 => Material::OrangeConcretePowder,
        500 => Material::OrangeGlazedTerracotta,
        484 => Material::OrangeShulkerBox,
        187 => Material::OrangeStainedGlass,
        336 => Material::OrangeStainedGlassPane,
        320 => Material::OrangeTerracotta,
        124 => Material::OrangeTulip,
        409 => Material::OrangeWallBanner,
        102 => Material::OrangeWool,
        127 => Material::OxeyeDaisy,
        385 => Material::PackedIce,
        389 => Material::Peony,
        436 => Material::PetrifiedOakSlab,
        398 => Material::PinkBanner,
        80 => Material::PinkBed,
        373 => Material::PinkCarpet,
        521 => Material::PinkConcrete,
        537 => Material::PinkConcretePowder,
        505 => Material::PinkGlazedTerracotta,
        489 => Material::PinkShulkerBox,
        192 => Material::PinkStainedGlass,
        341 => Material::PinkStainedGlassPane,
        325 => Material::PinkTerracotta,
        126 => Material::PinkTulip,
        414 => Material::PinkWallBanner,
        107 => Material::PinkWool,
        99 => Material::Piston,
        100 => Material::PistonHead,
        297 => Material::PlayerHead,
        296 => Material::PlayerWallHead,
        11 => Material::Podzol,
        7 => Material::PolishedAndesite,
        5 => Material::PolishedDiorite,
        3 => Material::PolishedGranite,
        119 => Material::Poppy,
        283 => Material::Potatoes,
        265 => Material::PottedAcaciaSapling,
        271 => Material::PottedAllium,
        272 => Material::PottedAzureBluet,
        263 => Material::PottedBirchSapling,
        270 => Material::PottedBlueOrchid,
        279 => Material::PottedBrownMushroom,
        281 => Material::PottedCactus,
        268 => Material::PottedDandelion,
        266 => Material::PottedDarkOakSapling,
        280 => Material::PottedDeadBush,
        267 => Material::PottedFern,
        264 => Material::PottedJungleSapling,
        261 => Material::PottedOakSapling,
        274 => Material::PottedOrangeTulip,
        277 => Material::PottedOxeyeDaisy,
        276 => Material::PottedPinkTulip,
        269 => Material::PottedPoppy,
        278 => Material::PottedRedMushroom,
        273 => Material::PottedRedTulip,
        262 => Material::PottedSpruceSapling,
        275 => Material::PottedWhiteTulip,
        90 => Material::PoweredRail,
        356 => Material::Prismarine,
        363 => Material::PrismarineBrickSlab,
        360 => Material::PrismarineBrickStairs,
        357 => Material::PrismarineBricks,
        362 => Material::PrismarineSlab,
        359 => Material::PrismarineStairs,
        177 => Material::Pumpkin,
        226 => Material::PumpkinStem,
        402 => Material::PurpleBanner,
        84 => Material::PurpleBed,
        377 => Material::PurpleCarpet,
        525 => Material::PurpleConcrete,
        541 => Material::PurpleConcretePowder,
        509 => Material::PurpleGlazedTerracotta,
        493 => Material::PurpleShulkerBox,
        196 => Material::PurpleStainedGlass,
        345 => Material::PurpleStainedGlassPane,
        329 => Material::PurpleTerracotta,
        418 => Material::PurpleWallBanner,
        111 => Material::PurpleWool,
        466 => Material::PurpurBlock,
        467 => Material::PurpurPillar,
        443 => Material::PurpurSlab,
        468 => Material::PurpurStairs,
        313 => Material::QuartzBlock,
        315 => Material::QuartzPillar,
        441 => Material::QuartzSlab,
        316 => Material::QuartzStairs,
        153 => Material::Rail,
        406 => Material::RedBanner,
        88 => Material::RedBed,
        381 => Material::RedCarpet,
        529 => Material::RedConcrete,
        545 => Material::RedConcretePowder,
        513 => Material::RedGlazedTerracotta,
        129 => Material::RedMushroom,
        219 => Material::RedMushroomBlock,
        478 => Material::RedNetherBricks,
        29 => Material::RedSand,
        424 => Material::RedSandstone,
        442 => Material::RedSandstoneSlab,
        427 => Material::RedSandstoneStairs,
        497 => Material::RedShulkerBox,
        200 => Material::RedStainedGlass,
        349 => Material::RedStainedGlassPane,
        333 => Material::RedTerracotta,
        123 => Material::RedTulip,
        422 => Material::RedWallBanner,
        115 => Material::RedWool,
        310 => Material::RedstoneBlock,
        245 => Material::RedstoneLamp,
        165 => Material::RedstoneOre,
        166 => Material::RedstoneTorch,
        167 => Material::RedstoneWallTorch,
        143 => Material::RedstoneWire,
        185 => Material::Repeater,
        473 => Material::RepeatingCommandBlock,
        388 => Material::RoseBush,
        28 => Material::Sand,
        70 => Material::Sandstone,
        435 => Material::SandstoneSlab,
        247 => Material::SandstoneStairs,
        365 => Material::SeaLantern,
        591 => Material::SeaPickle,
        97 => Material::Seagrass,
        482 => Material::ShulkerBox,
        150 => Material::Sign,
        291 => Material::SkeletonSkull,
        290 => Material::SkeletonWallSkull,
        353 => Material::SlimeBlock,
        446 => Material::SmoothQuartz,
        447 => Material::SmoothRedSandstone,
        445 => Material::SmoothSandstone,
        444 => Material::SmoothStone,
        169 => Material::Snow,
        171 => Material::SnowBlock,
        179 => Material::SoulSand,
        140 => Material::Spawner,
        64 => Material::Sponge,
        285 => Material::SpruceButton,
        458 => Material::SpruceDoor,
        453 => Material::SpruceFence,
        448 => Material::SpruceFenceGate,
        59 => Material::SpruceLeaves,
        35 => Material::SpruceLog,
        14 => Material::SprucePlanks,
        160 => Material::SprucePressurePlate,
        20 => Material::SpruceSapling,
        429 => Material::SpruceSlab,
        253 => Material::SpruceStairs,
        203 => Material::SpruceTrapdoor,
        47 => Material::SpruceWood,
        92 => Material::StickyPiston,
        1 => Material::Stone,
        439 => Material::StoneBrickSlab,
        231 => Material::StoneBrickStairs,
        214 => Material::StoneBricks,
        168 => Material::StoneButton,
        157 => Material::StonePressurePlate,
        434 => Material::StoneSlab,
        43 => Material::StrippedAcaciaLog,
        56 => Material::StrippedAcaciaWood,
        41 => Material::StrippedBirchLog,
        54 => Material::StrippedBirchWood,
        44 => Material::StrippedDarkOakLog,
        57 => Material::StrippedDarkOakWood,
        42 => Material::StrippedJungleLog,
        55 => Material::StrippedJungleWood,
        45 => Material::StrippedOakLog,
        52 => Material::StrippedOakWood,
        40 => Material::StrippedSpruceLog,
        53 => Material::StrippedSpruceWood,
        597 => Material::StructureBlock,
        480 => Material::StructureVoid,
        174 => Material::SugarCane,
        386 => Material::Sunflower,
        390 => Material::TallGrass,
        98 => Material::TallSeagrass,
        383 => Material::Terracotta,
        133 => Material::Tnt,
        137 => Material::Torch,
        305 => Material::TrappedChest,
        251 => Material::Tripwire,
        250 => Material::TripwireHook,
        566 => Material::TubeCoral,
        556 => Material::TubeCoralBlock,
        586 => Material::TubeCoralFan,
        576 => Material::TubeCoralWallFan,
        550 => Material::TurtleEgg,
        228 => Material::Vine,
        594 => Material::VoidAir,
        155 => Material::WallSign,
        138 => Material::WallTorch,
        26 => Material::Water,
        65 => Material::WetSponge,
        147 => Material::Wheat,
        392 => Material::WhiteBanner,
        74 => Material::WhiteBed,
        367 => Material::WhiteCarpet,
        515 => Material::WhiteConcrete,
        531 => Material::WhiteConcretePowder,
        499 => Material::WhiteGlazedTerracotta,
        483 => Material::WhiteShulkerBox,
        186 => Material::WhiteStainedGlass,
        335 => Material::WhiteStainedGlassPane,
        319 => Material::WhiteTerracotta,
        125 => Material::WhiteTulip,
        408 => Material::WhiteWallBanner,
        101 => Material::WhiteWool,
        293 => Material::WitherSkeletonSkull,
        292 => Material::WitherSkeletonWallSkull,
        396 => Material::YellowBanner,
        78 => Material::YellowBed,
        371 => Material::YellowCarpet,
        519 => Material::YellowConcrete,
        535 => Material::YellowConcretePowder,
        503 => Material::YellowGlazedTerracotta,
        487 => Material::YellowShulkerBox,
        190 => Material::YellowStainedGlass,
        339 => Material::YellowStainedGlassPane,
        323 => Material::YellowTerracotta,
        412 => Material::YellowWallBanner,
        105 => Material::YellowWool,
        295 => Material::ZombieHead,
        294 => Material::ZombieWallHead,
        _ => Material::Air,
    }
}

pub fn get_stack_size(mat: Material) -> u8 {
    match mat {
        Material::ShulkerBox => 1,
        Material::WhiteShulkerBox => 1,
        Material::OrangeShulkerBox => 1,
        Material::MagentaShulkerBox => 1,
        Material::LightBlueShulkerBox => 1,
        Material::YellowShulkerBox => 1,
        Material::LimeShulkerBox => 1,
        Material::PinkShulkerBox => 1,
        Material::GrayShulkerBox => 1,
        Material::LightGrayShulkerBox => 1,
        Material::CyanShulkerBox => 1,
        Material::PurpleShulkerBox => 1,
        Material::BlueShulkerBox => 1,
        Material::BrownShulkerBox => 1,
        Material::GreenShulkerBox => 1,
        Material::RedShulkerBox => 1,
        Material::BlackShulkerBox => 1,
        Material::TurtleHelmet => 1,
        Material::IronShovel => 1,
        Material::IronPickaxe => 1,
        Material::IronAxe => 1,
        Material::FlintAndSteel => 1,
        Material::Bow => 1,
        Material::IronSword => 1,
        Material::WoodenSword => 1,
        Material::WoodenShovel => 1,
        Material::WoodenPickaxe => 1,
        Material::WoodenAxe => 1,
        Material::StoneSword => 1,
        Material::StoneShovel => 1,
        Material::StonePickaxe => 1,
        Material::StoneAxe => 1,
        Material::DiamondSword => 1,
        Material::DiamondShovel => 1,
        Material::DiamondPickaxe => 1,
        Material::DiamondAxe => 1,
        Material::MushroomStew => 1,
        Material::GoldenSword => 1,
        Material::GoldenShovel => 1,
        Material::GoldenPickaxe => 1,
        Material::GoldenAxe => 1,
        Material::WoodenHoe => 1,
        Material::StoneHoe => 1,
        Material::IronHoe => 1,
        Material::DiamondHoe => 1,
        Material::GoldenHoe => 1,
        Material::LeatherHelmet => 1,
        Material::LeatherChestplate => 1,
        Material::LeatherLeggings => 1,
        Material::LeatherBoots => 1,
        Material::ChainmailHelmet => 1,
        Material::ChainmailChestplate => 1,
        Material::ChainmailLeggings => 1,
        Material::ChainmailBoots => 1,
        Material::IronHelmet => 1,
        Material::IronChestplate => 1,
        Material::IronLeggings => 1,
        Material::IronBoots => 1,
        Material::DiamondHelmet => 1,
        Material::DiamondChestplate => 1,
        Material::DiamondLeggings => 1,
        Material::DiamondBoots => 1,
        Material::GoldenHelmet => 1,
        Material::GoldenChestplate => 1,
        Material::GoldenLeggings => 1,
        Material::GoldenBoots => 1,
        Material::Sign => 16,
        Material::Bucket => 16,
        Material::WaterBucket => 1,
        Material::LavaBucket => 1,
        Material::Minecart => 1,
        Material::Saddle => 1,
        Material::Snowball => 16,
        Material::OakBoat => 1,
        Material::MilkBucket => 1,
        Material::PufferfishBucket => 1,
        Material::SalmonBucket => 1,
        Material::CodBucket => 1,
        Material::TropicalFishBucket => 1,
        Material::ChestMinecart => 1,
        Material::FurnaceMinecart => 1,
        Material::Egg => 16,
        Material::FishingRod => 1,
        Material::Cake => 1,
        Material::WhiteBed => 1,
        Material::OrangeBed => 1,
        Material::MagentaBed => 1,
        Material::LightBlueBed => 1,
        Material::YellowBed => 1,
        Material::LimeBed => 1,
        Material::PinkBed => 1,
        Material::GrayBed => 1,
        Material::LightGrayBed => 1,
        Material::CyanBed => 1,
        Material::PurpleBed => 1,
        Material::BlueBed => 1,
        Material::BrownBed => 1,
        Material::GreenBed => 1,
        Material::RedBed => 1,
        Material::BlackBed => 1,
        Material::Shears => 1,
        Material::EnderPearl => 16,
        Material::Potion => 1,
        Material::WritableBook => 1,
        Material::WrittenBook => 16,
        Material::CarrotOnAStick => 1,
        Material::EnchantedBook => 1,
        Material::TntMinecart => 1,
        Material::HopperMinecart => 1,
        Material::RabbitStew => 1,
        Material::ArmorStand => 16,
        Material::IronHorseArmor => 1,
        Material::GoldenHorseArmor => 1,
        Material::DiamondHorseArmor => 1,
        Material::CommandBlockMinecart => 1,
        Material::WhiteBanner => 16,
        Material::OrangeBanner => 16,
        Material::MagentaBanner => 16,
        Material::LightBlueBanner => 16,
        Material::YellowBanner => 16,
        Material::LimeBanner => 16,
        Material::PinkBanner => 16,
        Material::GrayBanner => 16,
        Material::LightGrayBanner => 16,
        Material::CyanBanner => 16,
        Material::PurpleBanner => 16,
        Material::BlueBanner => 16,
        Material::BrownBanner => 16,
        Material::GreenBanner => 16,
        Material::RedBanner => 16,
        Material::BlackBanner => 16,
        Material::BeetrootSoup => 1,
        Material::SplashPotion => 1,
        Material::LingeringPotion => 1,
        Material::Shield => 1,
        Material::Elytra => 1,
        Material::SpruceBoat => 1,
        Material::BirchBoat => 1,
        Material::JungleBoat => 1,
        Material::AcaciaBoat => 1,
        Material::DarkOakBoat => 1,
        Material::TotemOfUndying => 1,
        Material::KnowledgeBook => 1,
        Material::DebugStick => 1,
        Material::MusicDisc13 => 1,
        Material::MusicDiscCat => 1,
        Material::MusicDiscBlocks => 1,
        Material::MusicDiscChirp => 1,
        Material::MusicDiscFar => 1,
        Material::MusicDiscMall => 1,
        Material::MusicDiscMellohi => 1,
        Material::MusicDiscStal => 1,
        Material::MusicDiscStrad => 1,
        Material::MusicDiscWard => 1,
        Material::MusicDisc11 => 1,
        Material::MusicDiscWait => 1,
        Material::Trident => 1,
        _ => 64,
    }
}
